package com.xyx.yfy_site_msg.system.mapper;

import com.xyx.yfy_site_msg.system.entity.YfyCustomer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xyx.yfy_site_msg.system.entity.YfyDataEntity;
import com.xyx.yfy_site_msg.system.entity.YfyOther;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xyx
 * @since 2020-11-17
 */
public interface YfyCustomerMapper extends BaseMapper<YfyCustomer> {

    String loadCustomerNameById(@Param("customerid")Integer customerid);

    List<YfyDataEntity> loadAllCustomerOfProvince();

    List<YfyDataEntity> loadCreate(@Param("month") String month);

    List<YfyDataEntity> loadUpdate(@Param("month") String month);

    String loadCustomerTimeById(Integer id);

    List<YfyDataEntity> loadAllAddressOfCount();

    List<YfyOther> loadOther();

}
